package com.example.learn.enums;

public enum Finish {
    UNFINISH(0,"未完成"),
    FINISHED(1,"已完成"),
    ALL(100,"全部");
    private int num;
    private String code;

    Finish(int num, String code) {
        this.num = num;
        this.code = code;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
